package ch.fusun.baron.player.api;

import java.util.Collection;
import java.util.Map;

import ch.fusun.baron.data.DataProvider;

/**
 * Service which holds all countries
 */
public interface CountryService extends DataProvider {

	/**
	 * @param countries
	 *            The countries
	 */
	void setCountries(Map<String, Country> countries);

	/**
	 * @param name
	 *            The name of the country
	 * @return The created {@link Country}
	 */
	Country createCountry(String name);

	/**
	 * @return All available countries
	 */
	Collection<Country> getCountries();

}
